import React from 'react';
import { render } from 'react-dom';
import { Router, Route } from 'react-router';

import history from '../common/history.es6';

import MainView from './MainView.jsx';
require('./style.less');

render((
  <Router history={ history }>
    <Route path="/" component={ MainView } />
  </Router>
), document.getElementById('root'));
